/**
 * 
 */
package com.lehecai.ucenter.entity.permission;

import com.lehecai.ucenter.entity.BaseEntity;

/**
 * 角色权限对应表
 * @author chirowong
 *
 */
public class RolePermission extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8526446907027826740L;
	public static final String ROLE_ID_PROPERTY_NAME = "roleId";
	public static final String PERMISSION_ID_PROPERTY_NAME = "permissionId";
	private Long roleId;
	private Long permissionId;
	
	public RolePermission(){
	}
	
	public RolePermission(Long roleId, Long permissionId){
		this.roleId = roleId;
		this.permissionId = permissionId;
	}
	
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(Long permissionId) {
		this.permissionId = permissionId;
	}
}
